<?php

class CliException extends Exception { }
class CliParserException extends CliException { }

class CliRuntimeException extends CliException { }
class CliIdentifierException extends CliRuntimeException { }
class CliCallException extends CliRuntimeException { }
class CliRpnException extends CliRuntimeException { }
class CliDataException extends CliRuntimeException { }

class CliEvaluationException extends CliException { }
class CliRpnViolationException extends CliEvaluationException { }
class CliArgumentException extends CliEvaluationException { }
class CliVariableValueException extends CliEvaluationException { }
class CliReservedException extends CliEvaluationException { }
class CliUndefinedUserfuncException extends CliEvaluationException { }

class CliReferenceException extends CliEvaluationException { }
class CliUndefinedReferenceException extends CliReferenceException { }
class CliUndefinedArrayReferenceException extends CliReferenceException { }
class CliUndefinedFunctionException extends CliReferenceException { }

?>